package com.chushouya.product.dto.api.brand;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("热门品牌查询接口")
public class BrandHotApiQuery{
    @ApiModelProperty(value = "分类id", required = true)
    @NotNull(message = "分类id不能为空")
    private Long categoryId;

    @ApiModelProperty("数量")
    @NotNull(message = "数量不能为空")
    private Integer size;

}
